package com.qyhl.webtv.commonlib.entity.news;

import java.io.Serializable;
import java.util.List;

/**
 * Created by qyhl on 2017/11/30.
 * 抓取和小视频模型
 */

public class CatchSmallBean implements Serializable {
    public List<Comments> comments;

    public NewsDetail newsDetail;

    public int commentRule;//审核模式  0 先审后发 1 先发后审

    public int count;

    public static class Comments implements Serializable {
        public int newsId;
        public String careateTime;
        public String nickName;
        public int id;
        public String userName;
        public String content;
        public int status;
        public String userAvatar;

        public Comments(int newsId, String careateTime, String nickName, int id, String userName, String content, int status, String userAvatar) {
            this.newsId = newsId;
            this.careateTime = careateTime;
            this.nickName = nickName;
            this.id = id;
            this.userName = userName;
            this.content = content;
            this.status = status;
            this.userAvatar = userAvatar;
        }

        public int getNewsId() {
            return newsId;
        }

        public void setNewsId(int newsId) {
            this.newsId = newsId;
        }

        public String getCareateTime() {
            return careateTime;
        }

        public void setCareateTime(String careateTime) {
            this.careateTime = careateTime;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getUserAvatar() {
            return userAvatar;
        }

        public void setUserAvatar(String userAvatar) {
            this.userAvatar = userAvatar;
        }
    }

    public static class NewsDetail implements Serializable {
        public int id;
        public String cover;
        public int siteId;
        public int sectionId;
        public String title;
        public String content;
        public String careateTime;
        public String autor;
        public String sourceId;
        public String url;
        public String source;
        public String type;
        public String release;
        public String duration;
        public int clickCount;

        public NewsDetail(int id, String cover, int sectionId, String title, String url, int clickCount) {
            this.id = id;
            this.cover = cover;
            this.sectionId = sectionId;
            this.title = title;
            this.url = url;
            this.clickCount = clickCount;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public int getSiteId() {
            return siteId;
        }

        public void setSiteId(int siteId) {
            this.siteId = siteId;
        }

        public int getSectionId() {
            return sectionId;
        }

        public void setSectionId(int sectionId) {
            this.sectionId = sectionId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCareateTime() {
            return careateTime;
        }

        public void setCareateTime(String careateTime) {
            this.careateTime = careateTime;
        }

        public String getAutor() {
            return autor;
        }

        public void setAutor(String autor) {
            this.autor = autor;
        }

        public String getSourceId() {
            return sourceId;
        }

        public void setSourceId(String sourceId) {
            this.sourceId = sourceId;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getSource() {
            return source;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getRelease() {
            return release;
        }

        public void setRelease(String release) {
            this.release = release;
        }

        public String getDuration() {
            return duration;
        }

        public void setDuration(String duration) {
            this.duration = duration;
        }

        public int getClickCount() {
            return clickCount;
        }

        public void setClickCount(int clickCount) {
            this.clickCount = clickCount;
        }
    }

    public List<Comments> getComments() {
        return comments;
    }

    public void setComments(List<Comments> comments) {
        this.comments = comments;
    }

    public NewsDetail getNewsDetail() {
        return newsDetail;
    }

    public void setNewsDetail(NewsDetail newsDetail) {
        this.newsDetail = newsDetail;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getCommentRule() {
        return commentRule;
    }

    public void setCommentRule(int commentRule) {
        this.commentRule = commentRule;
    }
}
